package com.example.study.basic.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author: nannan
 * @date: 2020/9/23 9:53 下午
 * @description:
 */
public class LoggerUtil {
    private static final Logger logger = LoggerFactory.getLogger(LoggerUtil.class);

    public static void info (String message, Object args) {
        logger.info(message, args);
    }

    public static void error(String message, Throwable throwable) {
        logger.error(message, throwable);
    }
}
